package com.zbkj.common.model.splittingAccount;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 提现申请表
 * </p>
 *
 * @author HZW
 * @since 2022-07-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_withdrawal_application")
@ApiModel(value = "EbWithdrawalApplication对象", description = "提现申请表")
public class EbWithdrawalApplication implements Serializable {


    private static final long serialVersionUID = 7369315043765975873L;
    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "账户id")
    private String accountId;

    @ApiModelProperty(value = "商家id")
    private String merId;

    @ApiModelProperty(value = "商户名称")
    private String merName;

    @ApiModelProperty(value = "提现申请单号")
    private String applicationNo;

    @ApiModelProperty(value = "申请人ID")
    private Long applicantId;

    @ApiModelProperty(value = "申请人姓名")
    private String applicantName;

    @ApiModelProperty(value = "提现金额")
    private BigDecimal withdrawalAmount;

    @ApiModelProperty(value = "手续费")
    private BigDecimal serviceFee;

    @ApiModelProperty(value = "实际到账金额")
    private BigDecimal actualAmount;

    @ApiModelProperty(value = "申请时间")
    private Date applicationTime;

    @ApiModelProperty(value = "支付平台(wx:微信)")
    private String paymentPlatform;

    @ApiModelProperty(value = "支付账户")
    private String paymentAccount;

    @ApiModelProperty(value = "收款账户")
    private String receiverAccount;

    @ApiModelProperty(value = "审核状态(0-待审核,1-审核通过,2-审核拒绝)")
    private Integer auditStatus;

    @ApiModelProperty(value = "审核人ID")
    private Long auditorId;

    @ApiModelProperty(value = "审核人姓名")
    private String auditorName;

    @ApiModelProperty(value = "审核时间")
    private Date auditTime;

    @ApiModelProperty(value = "审核备注")
    private String auditRemark;

    @ApiModelProperty(value = "支付状态(0-待支付,1-支付中,2-支付成功,3-支付失败)")
    private Integer paymentStatus;

    @ApiModelProperty(value = "交易流水号")
    private String transactionNo;

    @ApiModelProperty(value = "支付时间")
    private Date paymentTime;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}